package com.github.pig.nideshop.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author J神
 * @since 2018-06-11
 */
@Data
@Accessors(chain = true)
public class NideshopOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String orderSn;
    private Integer userId;
    private Integer orderStatus;
    private Integer shippingStatus;
    private Integer payStatus;
    private String consignee;
    private Integer country;
    private Integer province;
    private Integer city;
    private Integer district;
    private String address;
    private String mobile;
    private String postscript;
    private BigDecimal shippingFee;
    private String payName;
    private Integer payId;
    /**
     * 实际需要支付的金额
     */
    private BigDecimal actualPrice;
    private Integer integral;
    private BigDecimal integralMoney;
    /**
     * 订单总价
     */
    private BigDecimal orderPrice;
    /**
     * 商品总价
     */
    private BigDecimal goodsPrice;
    private Long addTime;
    private Long confirmTime;
    private Long payTime;
    /**
     * 配送费用
     */
    private Integer freightPrice;
    /**
     * 使用的优惠券id
     */
    private Integer couponId;
    private Integer parentId;
    private BigDecimal couponPrice;
    private String callbackStatus;


}
